laravel timestamps on pivot table

218

laravel timestamps on pivot table -

return $this->belongsToMany('TableModelClassName')->using('PivotTableModelClassName')->withTimestamps();

Comments

Submit
0 Comments